androidsdk-hierarchyviewer software package provides Tool to debug and optimize Android user interface, you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install androidsdk-hierarchyviewer
androidsdk-hierarchyviewer is installed in your system.
Make ensure the androidsdk-hierarchyviewer package were installed using the commands given below,
$ sudo dpkg-query -l | grep androidsdk-hierarchyviewer *
You will get with androidsdk-hierarchyviewer package name, version, architecture and description in a table
| Distro | Debian 9 stretch |
| Section | Java |
| Package | androidsdk-hierarchyviewer |
| Version | 22.2+git20130830~92d25d6-3 |
| Description | Tool to debug and optimize Android user interface |
| Sub Section | Java |